package daoInterface;

import java.sql.SQLException;

import dto.Material;


public interface MaterialDao
{
public void add (Material material) throws SQLException, Exception;
public void update (Material material) throws SQLException, Exception;
public void delete (Material material) throws SQLException, Exception;
public Material retrieve(String ConditionField, String ConditionValue) throws SQLException, Exception;
public Material[] retrieveArray(String ConditionField, String ConditionValue) throws SQLException, Exception;
public Material[] retrieveAll() throws SQLException, Exception;
public int getAutoGenratedKey();

}
